<?php

class PostProducts extends SimpleWebRequest{

	public function send(){
		$response = parent::send();

		return $response;
	}


	public function __construct( $params ){
		$params['url'] = 'https://directo7.gate.ee/ocra_enermatik/transport/xmlcore.asp';
		
		$params['request_data'] = array('xmldata' => $params['xml'], 'put' => '1', 'what' => 'items');
		$params['method'] = 'POST';

		parent::__construct( $params );
	}

}